﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;

namespace IRepository
{
    public interface IUserRepository
    {
        bool Exists(string id);
        bool Add(User user);
        bool Update(User user);
        bool Delete(string id);
        bool Delete(List<string> listID);
        User Get(string id);
        IQueryable<User> GetList(string strWhere);
        int GetRecordCount(string strWhere);
        IQueryable<User> GetListByPage(string strWhere, string orderby, int startIndex, int endIndex);
        bool Vefify(string UserName, string password);
        User Get(string UserName, string password);
    }
}
